package com.chuangjiangx.member.basic.dao.model;

import java.util.Date;

public class InMbrWxCard {
    private Long id;

    private Long merchantId;

    private String showEquityList;

    private String operationInstruction;

    private Integer interfaceSwitch;

    private String interfaceName;

    private String interfaceGuide;

    private String interfaceUrl;

    private String wxCardId;

    private String wxRefuseReason;

    private Integer wxStatus;

    private Date wxAuditTime;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getShowEquityList() {
        return showEquityList;
    }

    public void setShowEquityList(String showEquityList) {
        this.showEquityList = showEquityList == null ? null : showEquityList.trim();
    }

    public String getOperationInstruction() {
        return operationInstruction;
    }

    public void setOperationInstruction(String operationInstruction) {
        this.operationInstruction = operationInstruction == null ? null : operationInstruction.trim();
    }

    public Integer getInterfaceSwitch() {
        return interfaceSwitch;
    }

    public void setInterfaceSwitch(Integer interfaceSwitch) {
        this.interfaceSwitch = interfaceSwitch;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName == null ? null : interfaceName.trim();
    }

    public String getInterfaceGuide() {
        return interfaceGuide;
    }

    public void setInterfaceGuide(String interfaceGuide) {
        this.interfaceGuide = interfaceGuide == null ? null : interfaceGuide.trim();
    }

    public String getInterfaceUrl() {
        return interfaceUrl;
    }

    public void setInterfaceUrl(String interfaceUrl) {
        this.interfaceUrl = interfaceUrl == null ? null : interfaceUrl.trim();
    }

    public String getWxCardId() {
        return wxCardId;
    }

    public void setWxCardId(String wxCardId) {
        this.wxCardId = wxCardId == null ? null : wxCardId.trim();
    }

    public String getWxRefuseReason() {
        return wxRefuseReason;
    }

    public void setWxRefuseReason(String wxRefuseReason) {
        this.wxRefuseReason = wxRefuseReason == null ? null : wxRefuseReason.trim();
    }

    public Integer getWxStatus() {
        return wxStatus;
    }

    public void setWxStatus(Integer wxStatus) {
        this.wxStatus = wxStatus;
    }

    public Date getWxAuditTime() {
        return wxAuditTime;
    }

    public void setWxAuditTime(Date wxAuditTime) {
        this.wxAuditTime = wxAuditTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", merchantId=").append(merchantId);
        sb.append(", showEquityList=").append(showEquityList);
        sb.append(", operationInstruction=").append(operationInstruction);
        sb.append(", interfaceSwitch=").append(interfaceSwitch);
        sb.append(", interfaceName=").append(interfaceName);
        sb.append(", interfaceGuide=").append(interfaceGuide);
        sb.append(", interfaceUrl=").append(interfaceUrl);
        sb.append(", wxCardId=").append(wxCardId);
        sb.append(", wxRefuseReason=").append(wxRefuseReason);
        sb.append(", wxStatus=").append(wxStatus);
        sb.append(", wxAuditTime=").append(wxAuditTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        InMbrWxCard other = (InMbrWxCard) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMerchantId() == null ? other.getMerchantId() == null : this.getMerchantId().equals(other.getMerchantId()))
            && (this.getShowEquityList() == null ? other.getShowEquityList() == null : this.getShowEquityList().equals(other.getShowEquityList()))
            && (this.getOperationInstruction() == null ? other.getOperationInstruction() == null : this.getOperationInstruction().equals(other.getOperationInstruction()))
            && (this.getInterfaceSwitch() == null ? other.getInterfaceSwitch() == null : this.getInterfaceSwitch().equals(other.getInterfaceSwitch()))
            && (this.getInterfaceName() == null ? other.getInterfaceName() == null : this.getInterfaceName().equals(other.getInterfaceName()))
            && (this.getInterfaceGuide() == null ? other.getInterfaceGuide() == null : this.getInterfaceGuide().equals(other.getInterfaceGuide()))
            && (this.getInterfaceUrl() == null ? other.getInterfaceUrl() == null : this.getInterfaceUrl().equals(other.getInterfaceUrl()))
            && (this.getWxCardId() == null ? other.getWxCardId() == null : this.getWxCardId().equals(other.getWxCardId()))
            && (this.getWxRefuseReason() == null ? other.getWxRefuseReason() == null : this.getWxRefuseReason().equals(other.getWxRefuseReason()))
            && (this.getWxStatus() == null ? other.getWxStatus() == null : this.getWxStatus().equals(other.getWxStatus()))
            && (this.getWxAuditTime() == null ? other.getWxAuditTime() == null : this.getWxAuditTime().equals(other.getWxAuditTime()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMerchantId() == null) ? 0 : getMerchantId().hashCode());
        result = prime * result + ((getShowEquityList() == null) ? 0 : getShowEquityList().hashCode());
        result = prime * result + ((getOperationInstruction() == null) ? 0 : getOperationInstruction().hashCode());
        result = prime * result + ((getInterfaceSwitch() == null) ? 0 : getInterfaceSwitch().hashCode());
        result = prime * result + ((getInterfaceName() == null) ? 0 : getInterfaceName().hashCode());
        result = prime * result + ((getInterfaceGuide() == null) ? 0 : getInterfaceGuide().hashCode());
        result = prime * result + ((getInterfaceUrl() == null) ? 0 : getInterfaceUrl().hashCode());
        result = prime * result + ((getWxCardId() == null) ? 0 : getWxCardId().hashCode());
        result = prime * result + ((getWxRefuseReason() == null) ? 0 : getWxRefuseReason().hashCode());
        result = prime * result + ((getWxStatus() == null) ? 0 : getWxStatus().hashCode());
        result = prime * result + ((getWxAuditTime() == null) ? 0 : getWxAuditTime().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}